function TestCase(name, filename) {
	this.name = name;
	this.filename = filename;
	this.noOfTest = null;
	this.passes = 0;
	this.fails = 0;
	this.exceptions = 0;

	try {
		this.request = new XMLHttpRequest();
	} catch (e) {
		var versionsOfXhttp = ['MSXML2.XMLHTTP', 'Microsoft.XMLHTTP', 'MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0', 'MSXML2.XMLHTTP.3.0'];
		for (var noOfVersions = 0; (noOfVersions < versionsOfXhttp.length) && ( ! this.success); noOfVersions ++) {
      		try {
            	this.request = new ActiveXObject(versionsOfXhttp[noOfVersions]);
      		} catch (e) {
	     		alert('Your browser does not support XMLHttpRequest... the Suite will not work.');
	    	}
		}
	}
}
// 
// TestCase.prototype.getName =
// function() {
// 	return this.name;
// }
// 
// TestCase.protoType.setName =
// function(name) {
// 	this.name = name;
// }



//After the name of the Group, every argument after that is a new test
function GroupTest(name)
{
	this.name = name;
	this.tests = new Array;
	
	for ( i = 1; i < GroupTest.arguments.length; i++ ) 
		this.tests[i - 1] = GroupTest.arguments[i];

}
